package qf.module.system.service;

import qf.module.system.entitiy.SysUser;
import qf.module.system.vo.SysUserVO;

public interface SysUserService {

    /**
     * 通过系统账号密码获取账户信息
     * @param userName
     * @param password
     * @return
     */
    SysUserVO loginTokenByUserNameAndPassowrd(String userName, String password);

    /**
     * 通过业务编号和密钥获取账户信息
     * @param busiNo
     * @param secretKey
     * @return
     */
    SysUserVO loginTokenByBusiNoAndSecretkey(String busiNo, String secretKey);


    SysUser save(SysUserVO sysUserVO);
}
